package com.bxj.wxtt.dubbo;

import com.bxj.wxtt.api.domain.AdvSite;
import com.bxj.wxtt.api.service.IAdvSiteDubboService;
import com.bxj.wxtt.service.AdvSiteService;
import com.ifeng.matrix.common.domain.PageResult;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Component;

/**
 * 由MyBatis Generator工具自动生成 2018-07-18 19:49:05
 */
@Component("advSiteDubboService")
public class AdvSiteDubboServiceImpl implements IAdvSiteDubboService {
    @Resource
    AdvSiteService advSiteService;

    public AdvSite selectById(Integer id) {
        return advSiteService.selectById(id);
    }

    public List<AdvSite> getAdvSiteList(AdvSite advSite) {
        return advSiteService.getAdvSiteList(advSite);
    }

    public PageResult<AdvSite> getAdvSitePage(AdvSite advSite) {
        return advSiteService.getAdvSitePage(advSite);
    }

    public int insert(AdvSite advSite) {
        int ret = advSiteService.insert(advSite);
        return ret;
    }

    public int updateAdvSiteById(AdvSite advSite) {
        return advSiteService.updateAdvSiteById(advSite);
    }
}